<?php
defined('_JEXEC') or die('Restricted access');

class HTML_hotel {
    function displayHotelForm($smarty, $hotel_details, $option){
        $smarty->assign('details', $hotel_details);
        $smarty->assign('option', $option);
        $smarty->display('hotelform.tpl');
    }
    
    function displayHotelList($smarty, $details, $option) {
        $smarty->assign('details', $details);
        $smarty->assign('option', $option);
        $smarty->display('hotellist.tpl');
    }
}
?>
